//
//  CollectionModel.m
//  Tang
//
//  Created by 352324497@qq.com on 15/12/3.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import "CollectionModel.h"

@implementation CollectionModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"])
    {
        [self setValue:value forKey:@"Id"];
    }
    else if ([key isEqualToString:@"extend"])
    {
        NSString * string = [NSString stringWithCString:[value UTF8String] encoding:NSUnicodeStringEncoding];
        [self setValue:string forKey:@"extend"];
        
    }
}
@end
